import React, { Component } from 'react'
import Maindiv from './components/mainDiv'
import './jingxuan.scss'
export default class nvzhuang extends Component {
  constructor(){
    super()
    this.state={
      mainlist:[{
        'id':0,
        'src':'https://d.vpimg1.com/upcb/2019/11/26/15/ias_d652a285-9377-45c3-a5cd-43a5ed71743b_570x273_90.jpg',
        'title':'飞鸟和新酒/avvn女装专场',
        'red_txt':0.3,
        'text':'折起'
      },
      {
        'id':1,
        'src':'https://c.vpimg1.com/upcb/2019/11/28/195/ias_2da41f4f-c90f-40f3-a320-b2f8c84d7d99_570x273_90.jpg',
        'title':'冰洁BINGJIE女装暖冬特卖专场',
        'red_txt':1.2,
        'text':'折起'
      },
      {
        'id':2,
        'src':'https://c.vpimg1.com/upcb/2019/11/28/131/ias_a281fd95-9b86-43f6-b6fb-935a66614e02_570x273_90.jpg',
        'title':'日着rizhuo女装专场',
        'red_txt':5,
        'text':'折封顶'
      },
      {
        'id':3,
        'src':'https://c.vpimg1.com/upcb/2019/11/27/159/ias_05617cb8-bd49-43af-8776-9f6d5fa3c84f_570x273_90.jpg',
        'title':'瑷齐InJu女装暖冬特卖专场',
        'red_txt':3,
        'text':'折封顶'
      }]
    }
  }
  render() {
    return (
      <div className='main jingxuan' id='nvzhuang'>
        <img src='https://a.vpimg3.com/upload/dop/2016/03/17/121/woman_2ad.png' alt='' />
        <hr />
        <div className='jx_xq'>
          {this.state.mainlist.map(el=>{
            return <Maindiv key={el.id} mainlist={el}></Maindiv>
          })}
        </div>
      </div>
    )
  }
}
